package com.csii.activiti.server.core.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@ApiModel("我的申请")
public class ActFlowMyApply {
    @ApiModelProperty("流程实例ID")
    private String processInstanceId;
    @ApiModelProperty("流程名称")
    private String processName;
    @ApiModelProperty("流程key")
    private String processKey;
    @ApiModelProperty("当前审批节点")
    private String currentApprovalDodeName;
    @ApiModelProperty("当前审批人列表")
    private List<String> currentApprovalUserList;
    @ApiModelProperty("审核状态")
    private String status;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("图标")
    private String iconType;
    @ApiModelProperty("表单数据")
    private Map<String,Object> formData;
    @ApiModelProperty("是否撤回")
    private boolean withdraw;
    @ApiModelProperty("是否可以催办")
    private boolean urging;
    @ApiModelProperty("是否重新申请")
    private boolean reapply;


    private Date endTime;
    private String deleteReason;
    private String deploymentId;

    @ApiModelProperty("摘要")
    private String summary;
}
